package com.milling.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.milling.common.annotation.Excel;
import com.milling.common.core.domain.BaseEntity;

/**
 * 入库信息对象 wms_in_stock
 *
 * @author X
 * @date 2025-05-27
 */
public class WmsInStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 机器码 */
    @Excel(name = "机器码")
    private String macCode;

    /** 料号2 */
    @Excel(name = "料号2")
    private String drillInfo;

    /** 料号 */
    @Excel(name = "料号")
    private String mDrillInfo;

    /** 钻针尺寸 */
    @Excel(name = "钻针尺寸")
    private String mDrillSize;

    /** 钻针类型 */
    @Excel(name = "钻针类型")
    private String mDrillType;

    /** 钻针刃长 */
    @Excel(name = "钻针刃长")
    private String mDrillEdge;

    /** 钻针厂牌 */
    @Excel(name = "钻针厂牌")
    private String mDrillFactory;

    /** 钻针研次 */
    @Excel(name = "钻针研次")
    private String mDrillGrindCount;

    /** 钻针状态(钻针方向+研磨状态+针盒类型) */
    @Excel(name = "钻针状态(钻针方向+研磨状态+针盒类型)")
    private String mDrillStatus;

    /** 钻针方向 */
    @Excel(name = "钻针方向")
    private String drillDirection;

    /** 研磨状态 */
    @Excel(name = "研磨状态")
    private String grindStatus;

    /** 针盒类型 */
    @Excel(name = "针盒类型")
    private String boxType;

    /** 钻针数量 */
    @Excel(name = "钻针数量")
    private Long mDrillCount;

    /** 保留码(0) */
    @Excel(name = "保留码(0)")
    private String mDrillKepp;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTm;

    /** 创建用户 */
    @Excel(name = "创建用户")
    private String createUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTm;

    /** 修改用户 */
    @Excel(name = "修改用户")
    private String updateUser;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMacCode(String macCode)
    {
        this.macCode = macCode;
    }

    public String getMacCode()
    {
        return macCode;
    }
    public void setDrillInfo(String drillInfo)
    {
        this.drillInfo = drillInfo;
    }

    public String getDrillInfo()
    {
        return drillInfo;
    }
    public void setmDrillInfo(String mDrillInfo)
    {
        this.mDrillInfo = mDrillInfo;
    }

    public String getmDrillInfo()
    {
        return mDrillInfo;
    }
    public void setmDrillSize(String mDrillSize)
    {
        this.mDrillSize = mDrillSize;
    }

    public String getmDrillSize()
    {
        return mDrillSize;
    }
    public void setmDrillType(String mDrillType)
    {
        this.mDrillType = mDrillType;
    }

    public String getmDrillType()
    {
        return mDrillType;
    }
    public void setmDrillEdge(String mDrillEdge)
    {
        this.mDrillEdge = mDrillEdge;
    }

    public String getmDrillEdge()
    {
        return mDrillEdge;
    }
    public void setmDrillFactory(String mDrillFactory)
    {
        this.mDrillFactory = mDrillFactory;
    }

    public String getmDrillFactory()
    {
        return mDrillFactory;
    }
    public void setmDrillGrindCount(String mDrillGrindCount)
    {
        this.mDrillGrindCount = mDrillGrindCount;
    }

    public String getmDrillGrindCount()
    {
        return mDrillGrindCount;
    }
    public void setmDrillStatus(String mDrillStatus)
    {
        this.mDrillStatus = mDrillStatus;
    }

    public String getmDrillStatus()
    {
        return mDrillStatus;
    }
    public void setDrillDirection(String drillDirection)
    {
        this.drillDirection = drillDirection;
    }

    public String getDrillDirection()
    {
        return drillDirection;
    }
    public void setGrindStatus(String grindStatus)
    {
        this.grindStatus = grindStatus;
    }

    public String getGrindStatus()
    {
        return grindStatus;
    }
    public void setBoxType(String boxType)
    {
        this.boxType = boxType;
    }

    public String getBoxType()
    {
        return boxType;
    }
    public void setmDrillCount(Long mDrillCount)
    {
        this.mDrillCount = mDrillCount;
    }

    public Long getmDrillCount()
    {
        return mDrillCount;
    }
    public void setmDrillKepp(String mDrillKepp)
    {
        this.mDrillKepp = mDrillKepp;
    }

    public String getmDrillKepp()
    {
        return mDrillKepp;
    }
    public void setCreateTm(Date createTm)
    {
        this.createTm = createTm;
    }

    public Date getCreateTm()
    {
        return createTm;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public String getCreateUser()
    {
        return createUser;
    }
    public void setUpdateTm(Date updateTm)
    {
        this.updateTm = updateTm;
    }

    public Date getUpdateTm()
    {
        return updateTm;
    }
    public void setUpdateUser(String updateUser)
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser()
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("macCode", getMacCode())
                .append("drillInfo", getDrillInfo())
                .append("mDrillInfo", getmDrillInfo())
                .append("mDrillSize", getmDrillSize())
                .append("mDrillType", getmDrillType())
                .append("mDrillEdge", getmDrillEdge())
                .append("mDrillFactory", getmDrillFactory())
                .append("mDrillGrindCount", getmDrillGrindCount())
                .append("mDrillStatus", getmDrillStatus())
                .append("drillDirection", getDrillDirection())
                .append("grindStatus", getGrindStatus())
                .append("boxType", getBoxType())
                .append("mDrillCount", getmDrillCount())
                .append("mDrillKepp", getmDrillKepp())
                .append("createTm", getCreateTm())
                .append("createUser", getCreateUser())
                .append("updateTm", getUpdateTm())
                .append("updateUser", getUpdateUser())
                .toString();
    }
}
